Java Old Paper solution || 2019

Group B 3 6

How is servlet depoyed ? Explain. Servlets are usually deployed in web containers, such as Apache Tomcat. The web container provides an environment for servlets to run in, managing threading, connection pooling, security, and other services. When a web server receives a request for a […]

Continue Reading

2020 makeup Java solutions || BIM STUDY NOTES 11 12 13 14 15

Continue Reading

JAVA 2015 Old paper Solutions

Year 2015 Group B 11 Write a Java Program to display all the even numbers from 1 to 500

12. Make a thread using Runnable interface to display numbers from 1 to 20, each number should be displayed in the interval of 2 seconds.

13. Write a program that reads line of […]

Continue Reading

JAVA Model Questions || BIM STUDY NOTES

Model Questions Write a Java program to display all the numbers between -300 to -1 which when divided by 17 gives 7 as remainder and also displays sum of those numbers.

3.Make two threads, one displays odd number after one second and another thread display even number after half second between -200 and -10. […]

Continue Reading

Unit 14 : Input/output:

Java I/O  A stream is continuous group of data or a channel through which data flows from one point to another point.  Java implements streams within class hierarchies defined in the package.  Byte streams provide a convenient means for handling input and output of bytes. Byte streams are used, for example, […]

Continue Reading

Unit 13 : String handling

String  A string is a set of one or more characters enclosed in double quotes or simply a string is an array of characters.  Strings, which are widely used in Java programming, are a sequence of characters. In the Java programming language, strings are objects.  The Java platform provides the String class to create […]

Continue Reading

Unit 11 : Multithreaded programming

A multithreaded program contains two or more parts that can run concurrently. Each part of such a program is called a thread, and each thread defines a separate path of execution. Thus, multithreading is a specialized form of multitasking.  There are two distinct types of multitasking: process-based and thread-based.  A process-based multitasking is the feature […]

Continue Reading

Unit 9 : Packages and Interface

Package and Interface  Packages are containers for classes that are used to keep the class name space compartmentalized.  For example, a package allows us to create a class named List, which you can store in your own package without concern that it will collide with some other class named List stored elsewhere.  Packages are stored in a […]

Continue Reading