Saturday, 18 November 2017


String or 
Know the usage of classes from a class

Chapter 9:           File Handling
Chapter 10:         Collections, Generics and Annotations
Chapter 11:         Networking with Java
Chapter 12:         Remote Method Invocation (RMI)
Chapter 13:         Java Database Connectivity (JDBC) and JavaBeans
Chapter 1:           Introduction to Web Application
Chapter 2:           Introduction to J2ee
Chapter 3:           SERVLETS
Chapter 4:           Java Server Pages (JSP)
Chapter 5:           Java Server Pages (JSP) – Advanced Learning
Chapter 6:           MVC architecture

Introduction to Frameworks
·         JSF
·         AJAX
                                                             WEB TECHNOLOGIES

Lab practice
Java software

Interview Questions
·         Core java interview questions
·         Interview questions on packages
·         Interview questions on Interfaces
·         Interview questions on Threads

Friday, 3 June 2016

How to remove specific character from an String in Java.

How to remove specific character from an String in Java.
public class RemoveCharacterFromArray
    public static void main(String args[])
        String s = "RAJENDRA";
        String r[] = s.split("J|E");
        String res = "";
        for (String m : r)
            res = res + m;
BUILD SUCCESSFUL (total time: 0 seconds)

You may like the following posts:

Wednesday, 18 November 2015

Static: find out the output of the following program

//find out the output of the following program
import java.lang.*;//optional
class C1
    System.out.println("C1 static block");
class C2{
  System.out.println("C2 static block");
 public static void f1()
   System.out.println("C2 f1() method");
class C3{
 System.out.println("C3 static block");
class C4{
  System.out.println("C4 static block");
 public static void main(String args[])
  System.out.println("main() method");
  C1 a=new C1(); //C1 static block is executed b4 obj is created
  C2.f1();//C2 static block is exectd b4 method is called
  C3 b;//C3 static block is not executed as obj is not created
       //nor method of C3 class is called
C4 static block
main() method
c1 static block
c2 static block
c2 f1() method


You may like the following posts:

Static keyword
 Interview questions on Static keyword