Git Product home page Git Product logo

oop's Introduction

oop
===

Object Oriented Programming

C++

Java

VB6

VB.NET

UML

oop's People

Contributors

ashumeow avatar iamogunyinka avatar

Watchers

 avatar  avatar  avatar

oop's Issues

classesobjects.cpp

prog.cpp:14:1: error: extra qualification ‘Cylinder::’ on member ‘Cylinder’ [-fpermissive]
Cylinder::Cylinder(float a,float b)
^
prog.cpp:14:1: error: ‘Cylinder::Cylinder(float, float)’ cannot be overloaded
prog.cpp:10:1: error: with ‘Cylinder::Cylinder(float, float)’
Cylinder(float,float)
^
prog.cpp:19:7: error: extra qualification ‘Cylinder::’ on member ‘volume’ [-fpermissive]
float Cylinder::volume(void)
^
prog.cpp:28:1: error: expected ‘;’ after class definition
}
^

encapsulation.java

Main.java:16: error: illegal start of expression
public void setValues(double rad,double hei)
^
Main.java:16: error: illegal start of expression
public void setValues(double rad,double hei)
^
Main.java:16: error: ';' expected
public void setValues(double rad,double hei)
^
Main.java:16: error: expected
public void setValues(double rad,double hei)
^
Main.java:16: error: not a statement
public void setValues(double rad,double hei)
^
Main.java:16: error: ';' expected
public void setValues(double rad,double hei)
^
Main.java:21: error: illegal start of expression
public double volume()
^
Main.java:21: error: ';' expected
public double volume()
^
Main.java:25: error: illegal start of expression
void main()
^
Main.java:25: error: ';' expected
void main()
^
10 errors

classes.java

Main.java:14: error: cannot find symbol
return PI * radius * radius * height;
^
symbol: variable PI
location: class classes
Main.java:14: error: cannot find symbol
return PI * radius * radius * height;
^
symbol: variable radius
location: class classes
Main.java:14: error: cannot find symbol
return PI * radius * radius * height;
^
symbol: variable radius
location: class classes
Main.java:14: error: cannot find symbol
return PI * radius * radius * height;
^
symbol: variable height
location: class classes
Main.java:19: error: constructor classes in class classes cannot be applied to given types;
c1 = new classes(10,5);
^
required: no arguments
found: int,int
reason: actual and formal argument lists differ in length
Main.java:22: error: constructor classes in class classes cannot be applied to given types;
c2 = new classes(15,5);
^
required: no arguments
found: int,int
reason: actual and formal argument lists differ in length
6 errors

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.