Skip to content

iamsagar99/Java

Repository files navigation

Java

Java Lab Assignment -1

Java lab assignment 1 questions:

Basic JAVA (Tutorial)

  1. WAP “Hello World” Java
  2. WAP and explain the program for a. Prime Number Verification b. Printing prime number between a given range
  3. Illustrate use of classes and objects
  4. Illustrate use of constructors
  5. Illustrate use of command line arguments
  6. Illustrate use of Stream classes to take user’s input
  7. Illustrate use of Overriding
  8. 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
  9. Create the Abstract class and implements the method
  10. Create a program illustrates the Overloading
  11. Illustrate a simple inheritance.
  12. Illustrate a Simple inheritance Using super to Call Super class Constructors
  13. Illustrate use of Interfaces
  14. Illustrate use of Packages image

About

Java Lab Assignment -1

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages