Knowledge in Java

Introduction to Java Programming(Part-II)

 Inheritance –Definition  Single Inheritance  Benefits of inheritance  Member access rules  super class  Polymorphism  Method overriding  Using final with inheritance  abstract classes  Base class object.  Interfaces-Definition  Variables and methods in interfaces  Differences between classes and interfaces  Usage of implements and extends keyword  Uses of interfaces

Exception Handling In Java

Exception:  An Exception is an abnormal situation (or) unexpected situation in the normal flow of the program execution.  An exception is an abnormal condition that arises in a code sequence at run time.  Because of Exceptions the flow of program execution is getting disturbed so that program execution may continue (or) may not be continued. Types of exceptions: There are two types of exceptions: 1) Checked exceptions 2) Unchecked exceptions Checked exceptions: Checked exceptions are checked at compile-time. It means if a method is throwing a checked exception then it should handle the exception using try catch block or it should declare the exception using throws keyword, otherwise the program will give a compilation error. It is named as checked exception because these exceptions are checked at Compile time. Unchecked Exceptions: Runtime Exceptions are also known as Unchecked Exceptions as the compiler do not check whether the programmer has handled them or not but it’s the duty of the programmer to handle these exceptions and provide a safe exit. Here are the few most frequently seen unchecked exceptions – • NullPointerException • ArrayIndexOutOfBoundsException • ArithmeticException • IllegalArgumentException

Java unit 1

Java unit 1 ppt of sreenidhi institute of science and technology prepared by experienced faculty for the better understanding of the students

Java unit 2 a

Java unit 2a ppt of sreenidhi institute of science and technology prepared by experienced faculty for the better understanding of the students

Unit 2b java

Java unit 2b ppt of sreenidhi institute of science and technology prepared by experienced faculty for the better understanding of the students

Java unit 3a

Java unit 3 a ppt of sreenidhi institute of science and technology prepared by experienced faculty for the better understanding of the students

Java unit 3 b

Java unit 3b ppt of sreenidhi institute of science and technology prepared by experienced faculty for the better understanding of the students

Java unit 3 c

Java unit 3c ppt of sreenidhi institute of science and technology prepared by experienced faculty for the better understanding of the students

Java unit 1 assignment

Java unit 1 assignment of sreenidhi institute of science and technology prepared by experienced faculty for the better understanding of the students

Java assignment unit 3

Java unit 3 assignment of sreenidhi institute of science and technology prepared by experienced faculty for the better understanding of the students

Online Lab Exam Question Paper of Java( JIS COLLEGE OF ENGINEERING)

This document is containing the Online Lab Exam Question Paper of Java( JIS COLLEGE OF ENGINEERING)

Java Program

this pdf contains 2 programs of java with output: 1)WAP TO FIND FACTORS OF A NUMBER. 2)WAP TO PRINT TABLE OF 4 TO 6.