Giter VIP home page Giter VIP logo

java-labs's Introduction

Labs and Exercises of OOP Course

Lab1

Take input from command line

Lab2

Write the java code that prints the sum of 2 numbers taken from the keyboard to the screen.

Write the java code that writes 2 string expressions taken from the keyboard one after the other.

Lab3

Write the java code that calculates the circumference and area of the circle. Pi value will be used by making use of java libraries. The radius value must be entered by the user.

Implement the following equations in java programming language to understand the operation and operator precedence.

Lab4

Write the java code that finds the number of 'a' characters and the number of uppercase characters in a paragraph entered from the screen.

Lab4.1

Write the java code that extracts the "Programming Lesson" part from the String given as "Java Programming Lesson Fall 2012" and prints it to the screen. You have to use indexOf and subString APIs for this.

Lab5

Write the java code that converts a 10-element integer array into an ArrayList list of numbers.

Write the java code that copies an integer array, whose element number and values are entered by the user, into another array, finds the average of the elements of the copied array and writes it to the screen.

Write the java code that the elements of a 3x2 matrix are entered by the user and printed on the screen.

java-labs's People

Contributors

agoktugaydin avatar

Stargazers

Harun Korkmaz avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.