if the memory capacity is 700 presently occupied by process
is 690. then another process request space(40)
how this situation handled in java.
Answer Posted / db
Whenever memory capacity is fully occupied serialize the extra objects to a File or db. when the memory is free take the objects from the file or db to memory.
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
What are disadvantages of java?
2) Suppose there are 5 directories having lot of files (say txt files) in each directory. 2 things :- 2.1) You want to search for filenames which have a particular pattern. 2.2) Out of these filtered files you want to search for a particular keyword or a search string. How can you achieve this?
What is the covariant return type?
For ease of programming you can consider the maze as a 2D array with colors represented by below integer and characters (in capital letters). • B - Black • W -White • G- Green • R- Red R B W B W W W W W W B W B B W W W W W W W B W B W W W B W W W W B B W W W B W W W B W W B B B B W B W B W W B W W W B W W W B B B W W B W W W B W W B W B W W W B W B W W W W B B W W W W B W W W W W G Shortest Route Problem: • Solution that finds the shortest Route between Red and Green White will have 1 Weight. Red and Green carry no weights. Shortest path is the path with less weight when you add up the weights in the path.
What is use of super keyword?
What are the advantages of autoboxing?
Write the algorithm to check the number non-leaf nodes in a tree.
How to declare objects of a class ?
Can we make constructors static?
What do you mean by inner class in java? Explain
What is the purpose of void?
Why unicode is important?
What are the actions that can occur when a thread enters blocked state?
Can we nested try statements in java?
Hi.... I applied for the post of scientific officer/Engineer-SB(Programmer).Please post the syllabus and sample papers.