Showing posts with label Advance Java coaching. Show all posts
Showing posts with label Advance Java coaching. Show all posts

Wednesday, May 29, 2019

Learn JDBC at TCCI - tccicomputercoaching.com

JDBC is an acronym for Java Database Connectivity. It’s advancement for ODBC (Open Database Connectivity). JDBC is a standard API specification developed in order to move data from frontend to backend. This API consists of classes and interfaces written in Java.



For Data Base connectivity you needDriver (Oracle or SQL). Once a connection is established you can interact with the database.

To learn more in detail about JDBC at TCCI.

Call us @ 9825618292

Visit us @ http://tccicomputercoaching.com/

Friday, March 8, 2019

Know more in detail about Java compiler - tccicomputercoaching.com

Java Language

The Java language has its own structure, syntax rules, and programming paradigm like any programming language. The Java language's programming paradigm is based on the concept of OOP, which the language's features support.


Java Compilation

When you write program for the Java platform, you write source code in .java files and then compile them. The compiler checks your code against the language's syntax rules, then writes out byte code in .class files. Byte code is a set of instructions targeted to run on a Java virtual machine (JVM). In adding this level of abstraction, the Java compiler differs from other language compilers, which write out instructions suitable for the CPU chipset the program will run on.

Let's Follow these steps how to save the file, compile and run the program.
  • Open notepad and add the code to print "Hello World" as an output.
  • Save the file as: MyFirstJavaProgram.java.
  • Open a command prompt window and go to the directory where you saved the class. Assume its C:\.
  • Type ' javac MyFirstJavaProgram.java' and press enter to compile your code. If there are no errors in your code, the command prompt will take you to the next line (Assumption: The path variable is set).
  • Now, type ' java MyFirstJavaProgram ' to run your program.
You will be able to see ' Hello World ' printed on the window.

C :\> javac MyFirstJavaProgram.java

C :\> java MyFirstJavaProgram

Hello World

If you like this post then please share and visit this post.

Visit us @ tccicomputercoaching.com

Call us @ 98256 18292

Tuesday, February 5, 2019

What is Swing in Java? tccicomputercoaching.com

Swing is a set of program component s for Java programmers that provide the ability to create graphical user interface ( GUI ) components, such as buttons and scroll bars, that are independent of the windowing system for specific operating system . Swing components are used with the Java Foundation Classes ( JFC ).



Swing offers two key features:

Swing components depend less on the target platform and use less of the native GUI resource. Hence the Swing components that don't rely on native GUI are referred to as lightweight components. Swing components are lightweight and don't rely on peers. Swing supports a pluggable look and feel. The three PLAFs available to all users are Metal (default), Windows, and Motif. It provides more powerful and flexible GUI components than those of AWT.

To learn more about Swing at TCCI, Ahmedabad .

Call us @ 9825618292

Visit us@ http://tccicomputercoaching.com/online-computer-course/

Wednesday, January 30, 2019

Is there any default port No in Java? tccicomputercoaching.com

In java , there is no default port number, you have to specify the port number. But port number from 1 to 1023 are for root user only and Port number from 1024 to 65535 are non root user port.



you can directly use port numbers from 1024 to 65535 if they are available. For example, port 80 should be reserved for Http connection .

but you need root access for binding port number from 1 to 1023 because most of the services are running on this range of port number.

To know more in detail about Java.

TCCI-Tririd Computer Coaching Institute is focused on providing Quality education with practical sessions. Satisfaction of our student is our priority. We pride ourselves for providing proficient IT solutions.

Call us @ 9825618292

Visit us@ http://tccicomputercoaching.com/engineering-courses/

Friday, January 11, 2019

What is URLConnection class in Java? tccicomputercoaching.com

The Java URLConnection class represents a communication link between the URL and the application. This class can be used to read and write data to the specified resource referred by the URL.

The URLConnection class contains many methods that let you communicate with the URL over the network. URLConnection is an HTTP-centric class; that is, many of its methods are useful only when you are working with HTTP URLs.



However, most URL protocols allow you to read from and write to the connection.

For run the programme related URL Connection you should know some built-in methods like,
  • URLConnection openConnection(): opens the connection to the specified URL.
  • OutputStream getOutputStream(): returns the output stream to this connection.
  • InputStream getInputStream(): returns the input stream to this open connection.
Steps involved in the above process:

1. URL Creation: Create a URL object using any of the constructors given int
2. this article
3. Create Object: Invoke the openConnection() call to create the object of URLConnection.
4. Display the Content: Either use the above created object to display the information about the resource or to read/write contents of the file to console using bufferedReader and InputStream of the open connection using getInputStream() method.
5. Close Stream: Close the InputStream when done.

To learn more in detail about URLConnection class, Java Netwroking , Advance Java at TCCI Coaching in Ahmedabad.

Online Coaching is available.

Call us @ 9825618292

Visit us@ http://tccicomputercoaching.com/java-language-course/