Solution:
Angular JS: Used to develop web applications with minimal effort.
Code:
<html>
<head>
<title>My_name</title>
</head>
<body ng-app = "basic_prg" >
<h2 ng-controller = "program_ctl"> { {message } }
</h2>
''' Main context '''
<script >
angular.module ("basic_prg", [ ] ).controller
("program_ctl", function ($scope ) {
$scope.message = "My_name"
} )
</script >
</body >
</html >
----------------------------------------------------------------------------------------
Explanation:
<html> -------------> Declaring HTML as an
angular JS program.
<head> -------------> Starting of the program
...
<title>My_name</title>
-------------> Titile name denotes the name at the
topbar..
</head>
.
<body ng-app = "basic_prg"> ------------->ng-app is to
make the program to denote it is an angular js app.
<h2 ng-controller="program_ctl"> {{message } } </h2>
-------------> To control the programs logic
''' Main context '''
..
<script > -------------> Script contains the main
context which has to be executed
angular.module ("basic_prg", [
]).controller("program_ctl", function ( $scope ) {
$scope.message =
"My_name" -------------> Printing name
on the screen
} )
</script >
.
</body >
</html> -------------> End of application..
----------------------------------------------------------------------------------------
Output:
Run in browser :- http://localhost:<port_No>/<file_name>

----------------------------------------------------------------------------------------
java- Students create your first basic angular project. Print your name on the screen please help!
create the java graphics program to write your first name in lines on the screen ( using jpanel to draw to line )
Create a java project and create Student class. This class should have the following attributes, name : String age : int id : String gender : String gpa : double and toString() method that returns the Student's detail. Your project should contain a TestStudent class where you get the student's info from user , create student's objects and save them in an arralist. You should save at least 10 student objects in this arraylist using loop statement. Then iterate through...
JAVA Create a Java project to implement a simple Name class. This class will have the following class variable: First Name, Middle Name, Last Name, and Full Name Create the accessor/getter and mutator/setter methods. In addition to these methods, create a toString() method, which overrides the object class toString() method. This override method prints the current value of any of this class object. Create a main() method to test your project.
Create a Netbeans project with a Java main class. (It does not matter what you name your project or class.) Your Java main class will have a main method and a method named "subtractTwoNumbers()". Your subtractTwoNumbers() method should require three integers to be sent from the main method. The second and third numbers should be subtracted from the first number. The answer should be returned to the main method and then displayed on the screen. Your main() method will prove...
1. Build a Java Class that prints out your name. Print your first name on the first line of output, and print your last name on the second line of output. Use variables to hold your firstName and lastName before printing them. All your code should go in the main() method. Call your class “Names.java”. lab 2 2371
java Create a void method that, when called, prints your name and student number to the screen. This method need not accept any arguments – Just print your info.
Write a java program to create a student file which includes first name, last name, and GPA. Write another Java program to open the students file. Display the students list and calculate the average GPA of the class.
help please
Perform the following steps: a) Using NetBeans, Create a New Java Application Project with Project Name BasePlusCommission Employee Test with Create Main Class check box selected. Create comments to form a descriptive header that has the course name, your name, the assignment title, and a pledge that you have neither received nor provided help to any person. Assignments submitted without this pledge will not be graded. When you have completed the steps (b) and (c) below, you will...
Write, compile, and test a class that displays your first name on the screen. Save the class as Name. Write, compile, and test a class that displays your full name, street address and city, on three separate lines on the screen. Save the class as Address. Write a java program which add two numbers and print the result on screen. Save the class as Add2. Write a java program which accepts two numbers from user multiply them and print the...
Need Java help: 1. Create a Java program that accepts input String input from a user of first name. 2. Create a Java program that accepts input String input from a user of last name. 3. Concatenate the Strings in a full name variable and print to the console.