Java Lab Assignment -1
Java lab assignment 1 questions:
Basic JAVA (Tutorial)
- WAP “Hello World” Java
- WAP and explain the program for a. Prime Number Verification b. Printing prime number between a given range
- Illustrate use of classes and objects
- Illustrate use of constructors
- Illustrate use of command line arguments
- Illustrate use of Stream classes to take user’s input
- Illustrate use of Overriding
- Creates a super class called Figure. Its defines a method called area( ) that computes the area of an object. The program derives two subclasses from Figure. The first is Rectangle and the second is Triangle. Each of these subclasses overrides area( ) so that it returns
- Create the Abstract class and implements the method
- Create a program illustrates the Overloading
- Illustrate a simple inheritance.
- Illustrate a Simple inheritance Using super to Call Super class Constructors
- Illustrate use of Interfaces
- Illustrate use of Packages
