Programming Pandit

c/c++/c#/Javav/Python


Latest Update

Tuesday, August 12, 2025

Name print using string variable in JAVA

Objective: Name print using string variable in JAVA.

 

Code:

class java3

{

public static void main(String args[])

{

    System.out.println("Dr. Krishna");

}

}


Output:






No comments:

Post a Comment